import fetch from 'utils/fetch'

export async function query (param) {
  return fetch.post('/user/list', param)
}

export async function detail (param) {
  return fetch.post('/user/detail', param)
}

export async function info (param) {
  return fetch.post('/user/info', param)
}

export async function update (param) {
  return fetch.post('/user/update', param)
}

export async function remove (param) {
  return fetch.post('/user/delete', param)
}

export async function reset (param) {
  return fetch.post('/user/reset', param)
}
